#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {

  string s;
  cin >> s;
  int mid = s.size() / 2;
  string s1 = s.substr(0, mid) + s.substr(mid + 1);

  cout << s1 << '\n';
}